home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20021006-20030409
/
000317_metceed@yahoo.com_Mon Feb 17 18:03:05 EST 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
67 lines
Article: 14113 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: metceed@yahoo.com (Minty)
Newsgroups: comp.protocols.kermit.misc
Subject: Running multiple kermit scripts on one connection
Date: 17 Feb 2003 14:58:58 -0800
Organization: http://groups.google.com/
Lines: 49
Message-ID: <775a2ab0.0302171458.f8f21f9@posting.google.com>
NNTP-Posting-Host: 134.178.30.65
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1045522738 16674 127.0.0.1 (17 Feb 2003 22:58:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 Feb 2003 22:58:58 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14113
I'm trying to run multiple kermit scripts over one dial-up connection.
More specifically:
I am writing a program that will automatically send an alert. One the
the ways it sends an alert is via an sms message. I have an account
with an pstn-to-sms gateway provider. So I can dial-up this gateway
modem, and using the TAP protocol, I can send sms messages.
What I want to do is control, within my program, the 2 main aspects of
the sending process. The 'loggin on' part, and the 'sending messages
part'. I already have a kermit script that does both. I want to
seperate those to parts and call them seperately from my program. The
reason is that there could be many messages going out for the one
connection. This is decided at run-time. Another reason is so that the
program can know which alerts got sent and which didn't.
So, if for example I'm sending out 2 alerts, the steps would be as
follows:
1-The program would run a kermit script, that opens connection from
local pc to local modem, dials the gateway modem and logs on, as per
the TAP protocol. The script would be called with the gateway provider
number as parameter.
2-Then the program would run another kermit script, that sends
messages as per TAP protocol, with the message and sms number as
parameters, noting the exit code.
3-It would again call the same send script with another message and
another number as parameter, again noting the exit code.
4-It calls another scipt, that logs off the connection to the gateway
modem, and also closes connection from local pc to local modem.
Now, the problem I have noted with running multiple kermit scripts, is
that at the end of running one script, it closes the connection to the
gateway modem and also the connection from the local pc to the local
modem.
I'm using the latest kermit 95 version on a Windows 2000 machine.
Anyone have any ideas on how I could do this? I'm sure it's only a
setting I would have to set with kermit, but I haven't found it.
One idea I did try was to manually open an instance of kermit and open
connection to local modem manually. Then call the other scripts to use
this connection, but they wouldn't use it.
Thanks in advance for any help forthcoming.